package cn.cdeden.knowledge.vo;


import cn.cdeden.knowledge.api.domain.vo.EnterpriseFilesTreeRemoteVo;
import cn.cdeden.knowledge.domain.EnterpriseFilesTree;
import cn.cdeden.knowledge.domain.dto.EnterpriseFilesTreeDto;
import cn.cdeden.knowledge.domain.dto.FilesTree;
import cn.cdeden.knowledge.domain.vo.FilesTreeRecycleVo;
import cn.cdeden.system.api.domain.vo.RemoteEnterpriseFileTreeVo;
import io.github.linpeilie.annotations.AutoMapper;
import io.github.linpeilie.annotations.AutoMappers;
import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;

import java.io.Serial;
import java.io.Serializable;
import java.util.Date;
import java.util.List;

@Data
@AutoMappers({@AutoMapper(target = EnterpriseFilesTreeDto.class),@AutoMapper(target = EnterpriseFilesTree.class)
    })
public class EnterpriseFilesTreeVO implements Serializable {

    @Serial
    private static final long serialVersionUID = 1L;

//    @ApiModelProperty(value = "编号")
    private Long id;

//    @ApiModelProperty(value = "文件编码")
    private String fileEncode;

//    @ApiModelProperty(value = "父亲编号")
    private String parentId;

//    @ApiModelProperty(value = "文件编号")
    private int fileId;

//    @ApiModelProperty(value = "后缀名")
    private String suffix;

//    @ApiModelProperty(value = "名称")
    private String realName;

//    @ApiModelProperty(value = "上级路径")
    private String superiorsPath;

//    @ApiModelProperty(value = "路径")
    private String path;

//    @ApiModelProperty(value = "类型")
    private String type;


//    @ApiModelProperty(value = "储存表id")
    private String storageId;

//    @ApiModelProperty(value = "储存服务器类型")
    private String storageType;

//    @ApiModelProperty(value = "文件大小")
    private Long size;

//    @ApiModelProperty(value = "关连状态")
    private String linkingState;

//    @ApiModelProperty(value = "收藏")
    private String collection;

//    @ApiModelProperty(value = "关注")
    private String attention;

//    @ApiModelProperty(value = "锁定")
    private String isLock;

//    @ApiModelProperty(value = "显示栏目类型")
    private String columnType;

//    @ApiModelProperty(value = "创建编号")
    private String createId;

//    @ApiModelProperty(value = "版本号")
    private String editionName;

//    @ApiModelProperty(value = "版本编码")
    private String edition;

//    @ApiModelProperty(value = "生效日期")
    @DateTimeFormat(pattern="yyyy-MM-dd")
    private Date effectiveDate;

//    @ApiModelProperty(value = "过期日期")
    @DateTimeFormat(pattern="yyyy-MM-dd")
    private Date expirationDate;

//    @ApiModelProperty(value = "创建者")
    private String createBy;

//    @ApiModelProperty(value = "创建日期")
    private Date createTime;

//    @ApiModelProperty(value = "更新编号")
    private String updateId;

//    @ApiModelProperty(value = "更新者")
    private String updateBy;

//    @ApiModelProperty(value = "更新时间")
    private Date updateTime;

//    @ApiModelProperty(value = "删除编号")
    private String deleteId;

//    @ApiModelProperty(value = "删除者")
    private String deleteBy;

//    @ApiModelProperty(value = "删除时间")
    private Date deleteTime;

//    @ApiModelProperty(value = "删除 是否可以被查询")
    private String deleteType;

//    @ApiModelProperty(value = "模板名称")
    private String templateName;

//    @ApiModelProperty(value = "文档内容")
    private String docContent;

//    @ApiModelProperty(value = "md5")
    private String fileMd5;

//    @ApiModelProperty(value = "置顶")
    private Integer sort;

//    @ApiModelProperty(value = "描述")
    private String remarks;

//    @ApiModelProperty(value = "知识库标记")
    private Integer knowledgeMark;

//    @ApiModelProperty(value = "水印id")
    private Long waterMarkId;

//    @ApiModelProperty(value = "权限（新增成员所使用到的权限）")
    private String insertPerm;

//    @ApiModelProperty(value = "标记tms资源")
    private String toTms;

    private List<EnterpriseFilesTreeVO> childrenList;
}
